﻿<%@ Control Language="C#"  AutoEventWireup="true"  CodeFile = "login.ascx.cs" Inherits = "login" %>
<asp:Table ID="loginFon" BackColor="#FFFFFF" Visible="false" style="position:absolute; z-index: 100; filter: alpha(opacity=70); opacity: 0.7; width: 100%; height: 700%;" runat="server">
<asp:TableRow ID="TableRow1" runat="server"><asp:TableCell ID="TableCell1" HorizontalAlign="Center" VerticalAlign="Top" runat="server" >
<img src="../Admin/img/shadow.jpg" Width="270px" Height="130px"  style="position:relative; top: 200px; margin-top: 10px; margin-left: 15px;"/>
</asp:TableCell></asp:TableRow> 
</asp:Table>

<asp:Table ID="loginBody" Visible="false" style="position:absolute; z-index: 110;"  Width="100%" Height="100%" runat="server">
<asp:TableRow ID="TableRow6" runat="server"><asp:TableCell ID="TableCell8" HorizontalAlign="Center" VerticalAlign="Top" runat="server" >

    <asp:Table id="loginMenu" BackImageUrl="~/Admin/img/fon.jpg" style="position:relative; top: 200px;" Width="270px" Height="130px" CellPadding="3" runat="server">
    <asp:TableRow ID="TableRow2" runat="server">
        <asp:TableCell ID="TableCell2" ColumnSpan="2" ForeColor="#FFFFFF" Font-Size="14px" Font-Bold="false" style="padding-left: 20px; padding-top: 15px;" runat="server">Вход в админ панель:</asp:TableCell>
    </asp:TableRow>
    <asp:TableRow ID="TableRow3" runat="server">
        <asp:TableCell ID="TableCell3" Font-Size="10px" Font-Bold="true" ForeColor="#FFFFFF" style="padding-left: 20px;" Width="30%" runat="server">Логин:</asp:TableCell><asp:TableCell ID="TableCell4" runat="server"><asp:TextBox ID="user_name" runat="server" Font-Size="10px" Width="90%"  /></asp:TableCell>
    </asp:TableRow>
    <asp:TableRow ID="TableRow4" runat="server">
        <asp:TableCell ID="TableCell5" Font-Size="10px" Font-Bold="true" ForeColor="#FFFFFF" style="padding-left: 20px;" Width="30%" runat="server">Пароль:</asp:TableCell><asp:TableCell ID="TableCell6" runat="server"><asp:TextBox ID="password" TextMode="Password" runat="server" Font-Size="10px" Width="90%"  /></asp:TableCell>
    </asp:TableRow>
    <asp:TableRow ID="TableRow5" runat="server">
        <asp:TableCell ID="TableCell7" ColumnSpan="2" style="padding-bottom: 10px;" HorizontalAlign="Center" runat="server"><asp:ImageButton ID="enter_but" style="margin-top: 4px;"  ImageUrl="~/Admin/img/but_enter.jpg" OnClick="Enter" runat="server" /></asp:TableCell>
    </asp:TableRow>
    </asp:Table>

</asp:TableCell></asp:TableRow> 
</asp:Table>


<script language="javascript" >

if(scrollEnabled = 'false')
{
function addHandler(object, event, handler, useCapture) {
    if (object.addEventListener) {
        object.addEventListener(event, handler, useCapture ? useCapture : false);
    } else if (object.attachEvent) {
        object.attachEvent('on' + event, handler);
    } else alert("Add handler is not supported");
}

addHandler(window, 'DOMMouseScroll', wheel);
addHandler(window, 'mousewheel', wheel);
addHandler(document, 'mousewheel', wheel);
function wheel(event) {
    var delta; 
    event = event || window.event;
    if (event.wheelDelta) {
        delta = event.wheelDelta / 120;
        if (window.opera) delta = -delta;
    } else if (event.detail) {
        delta = -event.detail / 3;
    }
    if (event.preventDefault)  event.preventDefault();
    event.returnValue = false;
    return delta;
}
}

</script>



   
